package com.example.demo04.mapper;

import com.example.demo04.entity.StStoreOrderDetail;

/**
 * @author admin
 * @Description ${Description}
 * @date 2020-07-18 11:15:00
 */
public interface StStoreOrderDetailMapper {

    /**
     * delete by primary key
     *
     * @param orderDetailId primaryKey
     * @return deleteCount
     */
    int deleteByPrimaryKey(String orderDetailId);

    /**
     * insert record to table
     *
     * @param record the record
     * @return insert count
     */
    int insert(StStoreOrderDetail record);

    /**
     * insert record to table selective
     *
     * @param record the record
     * @return insert count
     */
    int insertSelective(StStoreOrderDetail record);

    /**
     * select by primary key
     *
     * @param orderDetailId primary key
     * @return object by primary key
     */
    StStoreOrderDetail selectByPrimaryKey(String orderDetailId);

    /**
     * update record selective
     *
     * @param record the updated record
     * @return update count
     */
    int updateByPrimaryKeySelective(StStoreOrderDetail record);

    /**
     * update record
     *
     * @param record the updated record
     * @return update count
     */
    int updateByPrimaryKey(StStoreOrderDetail record);
}